{include file=$header_start}
{strip}
<script language="javascript" src="{$siteroot}/includes/js/admin/send_reply.js"></script>
{/strip}
{literal}
<script language="javascript">
function ShowReply()
{
	if(document.getElementById("replyDiv").style.display=="none")
	{
		document.getElementById("replyDiv").style.display="block";	
	}
	else
	{
		document.getElementById("replyDiv").style.display="none";
	}
}

</script>

{/literal}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Message Details</div>
         <div class="whitebox">
         <div>
         {if $msg}
          <div class="success_msg">
           <span>{$msg}</span>
          </div>
         {/if}
           <div class="form_fieldbox">
            <div style="text-align:right;">
	          <a href="{$siteroot}/admin/home.php?q=messages&page={$page}"><strong>Back</strong></a>
            </div>
             
             <dl>
              <dt>From :</dt>
              <dd>{$msgArray.from_name|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
             
              <dl>
              <dt>To :</dt>
              <dd>{$msgArray.to_name|ucfirst}</dd>
              <div class="clear"></div>
             </dl>
           	
          <dl>
              <dt>Subject:</dt>
              <dd>{$msgArray.subject|ucfirst|stripslashes}</dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt>Message:</dt>
              <dd>{$msgArray.message|ucfirst|stripslashes}</dd>
              <div class="clear"></div>
            </dl>
             
            <dl>
              <dt>Send Date:</dt>
              <dd>{$msgArray.send_date}</dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt><input type="button" class="admin_btn" value="Reply" name="Reply" id="Reply" onclick="javascript:ShowReply();" /></dt>
              <dd></dd>
              <div class="clear"></div>
            </dl>
            
            <div name="replyDiv" id="replyDiv" style="display:none;">
             <form name="replyFrm" id="replyFrm" action="" method="post" >      
            <dl>
              <dt>Subject :</dt>
              <dd><input type="text" name="subject" id="subject" value=""  class="input"/></dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt>Message :</dt>
              <dd><textarea name="message" id="message" cols="60" rows="10"  class="input"></textarea>
              </dd>
              <div class="clear"></div>
            </dl>
            
            <dl>
              <dt>Signature :</dt>
              <dd><input type="text" name="sign" id="sign" style="width:200px;" class="input" value="Thanking You, Team Getbids.hopto.org" readonly="readonly" />
              </dd>
              <div class="clear"></div>
            </dl>
            
              
            <dl>
              <dt><input type="Submit" class="admin_btn" value="Send" name="Send" id="Send" /></dt>
              <dd></dd>
              <div class="clear"></div>
            </dl>
            </form></div>
                         <dt>&nbsp;</dt>
            
              <div class="clear"></div>
             </dl>
            </div>
           
         </div>

         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}